Configure LLDP Tx-TLVs
About this task
Use this procedure to configure optional management Link Layer Discovery Protocol (LLDP) TLVs for transmission.
LLDP TLVs for transmission are enabled by default.Procedure
Examples
Disable the port description LLDP transmission TLV:
Switch:1>enable Switch:1#config Configuring from terminal or network [terminal]? t Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#interface gigabitethernet 1/2 Switch:1(config-if)#no lldp tx-tlv port-desc
Switch:1(config-if)#show lldp tx-tlv port 1/2 ======================================================= LLDP port tlvs ======================================================= ------------------------------------------------------- Port PortDesc SysName SysDesc SysCap ------------------------------------------------------- 1/2 disabled enabled enabled enabled
Restore port description LLDP transmission TLV to the default value:
Switch:1>enable Switch:1#config Configuring from terminal or network [terminal]? t Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#interface gigabitethernet 1/2 Switch:1(config-if)#default lldp tx-tlv port-desc
Switch:1>show lldp tx-tlv port 1/2 ======================================================= LLDP port tlvs ======================================================= ------------------------------------------------------- Port PortDesc SysName SysDesc SysCap LocalMgmtAddr ------------------------------------------------------- 1/2 enabled enabled enabled enabled enabled
Variable Definitions
The following table defines parameters for the lldp tx-tlv command.
Variable |
Value |
---|---|
local-mgmt-addr |
Specifies the local management address TLV. The default is enabled. |
port-desc |
Specifies the port description transmission TLV. The default is enabled. |
sys-cap |
Specifies the system capabilities transmission TLV. The default is enabled. |
sys-desc |
Specifies the system description transmission TLV. The default is enabled. |
sys-name |
Specifies the system name transmission TLV. The default is enabled. |